home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2694 < prev    next >
Encoding:
Text File  |  1996-08-06  |  1.0 KB  |  39 lines

  1. Newsgroups: comp.lang.c++
  2. Path: netcom.com!jhalpin
  3. From: jhalpin@netcom.com (Joe Halpin)
  4. Subject: Re: HELP: I need RWTPtrSlist< myTemplate<T>>
  5. Message-ID: <jhalpinDLELJy.AIt@netcom.com>
  6. Organization: Netcom Online Communications Services (408-241-9760 login: guest)
  7. References: <4dmid0$o2m@gateway.comsearch.com>
  8. Date: Fri, 19 Jan 1996 01:02:22 GMT
  9. Sender: jhalpin@netcom5.netcom.com
  10.  
  11. In article <4dmid0$o2m@gateway.comsearch.com> Thuan Nguyen <thnguyen@comsearch.com> writes:
  12. >I have a template class that will be used in a link list template. As a result.
  13. >My declaration for link  list end up:
  14. >
  15. >template <class listType>
  16. >class myTemplate
  17. >{
  18. >}
  19. >
  20. >template <class listType>
  21. >class store_list
  22. >{
  23. >   RWTPtrSlist< myTemplate<listType>> _mylist; // link list 
  24. >}
  25. >
  26. >Compiler doesnt like this. Is there anyway I can get around this ??
  27. >
  28. >Thanks
  29. >
  30.  
  31. Try
  32.  
  33. RWTPtrSlist< myTemplate<listType> > _mylist; // link list 
  34.                                  ^
  35.                                  |
  36.                                  +-- note space
  37.  
  38. Joe
  39.